package com.greencloud.mapstructplus.dto;

import com.greencloud.mapstructplus.entity.User;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMapping;
import lombok.Data;


/**
 * @author LiuDehuai
 * @fileName:UserDto
 * @Date:2025/1/24 下午4:00
 */
@AutoMapper(target = User.class)
@Data
public class UserDto {
    private String username;
    private int age;
    @AutoMapping(dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String dateOfBirth;
}
